﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StarTrek.UI.Console.MenuItem
{
    class MenuDefault:iMenuItem
    {
        private readonly List<string> Answers = new List<string>();
        public MenuDefault()
        {
            Answers.Add(Properties.Resources.MenuDefault1);
            Answers.Add(Properties.Resources.MenuDefault2);
            Answers.Add(Properties.Resources.MenuDefault3);
            Answers.Add(Properties.Resources.MenuDefault4);
            Answers.Add(Properties.Resources.MenuDefault5);
        }
        #region iMenuItem Members

        public bool ProcessSomeRequest(MenuContext Menu, System.IO.TextWriter sw, System.IO.TextReader tr)
        {
            Random rnd = new Random();
            sw.WriteLine(Menu.wordWrap(Answers[rnd.Next(0, Answers.Count)]));
            return true;
        }

        public string MenuAction
        {
            get { return string.Empty; }
        }

        public string Text
        {
            get { return string.Empty; }
        }

        public string VerboseText
        {
            get { return string.Empty; }
        }

        #endregion
    }
}
